package com.shou.service;

import com.shou.pojo.Activity;

import java.util.List;

public interface ActivityService {
    boolean addActivity(Activity activity);
    boolean updateActivity(Activity activity);
    boolean deleteActivity(int activityId);
    List<Activity> getAllActivities();

    Activity findById(int id);

    boolean enrollUser(int userId, int activityId);
    // 其他业务逻辑方法...
}
